<template>
  <div>
    <layout/>
  </div>
 
</template>

<script>
// import MenuBar from './components/MenuBar.vue';
import layout from './components/layout.vue';

export default {
  components: {
    // MenuBar
    layout
  }
};
</script>

<style scoped>
/* 清除浏览器默认样式 */
html, body, #app {
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  background-color: #1a1a1a!important;
  overflow: hidden; 
  overflow-y: hidden;
  
}

/* .layout {
   height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column; 
  background-color: #2E2E30;
  color: #fff;
} */

.top-menu {
  height: 60px;
  background-color: #1a1a1a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  position: fixed; 
  top: 0;
  left: 0;
  right: 0;
  z-index: 1; 
  color:aqua
}

.logo {
  font-size: 20px;
  font-weight: bold;
}

.menu-buttons button {
  background: none;
  border: none;
  color: white;
  margin-left: 15px;
  cursor: pointer;
}

.main-container {
  flex: 1;
  display: flex;
  min-height: 0;
  margin-top: 60px; 
  background-color: #2E2E30
}

.content-container {
  position: fixed;
  top: 80px; 
  left: 220px; 
  right: 20px;
  bottom: 20px;
  border-radius: 8px;
  background-color: #1a1a1a;
  /* box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);  */
  overflow: hidden; 
}
</style>    